package org.swxjava.core;

import java.util.List;
import java.util.Map;

import org.swxjava.locator.ServiceLocator;

public interface ServiceLocatorManager {

	void addServiceLocatorType(String id, String className);

	void addService(String serviceName, String typeName, Map params)
			throws InstantiationException, IllegalAccessException,
			IllegalArgumentException;

	void addService(String serviceName, ServiceLocator locator)
			throws IllegalArgumentException;

	ServiceLocator getServiceLocator(String serviceName);

	List<String> getServiceNames();
}
